#ifndef DELETECOMMAND_H
#define DELETECOMMAND_H

#include <QUndoCommand>

class QGraphicsScene;
class QGraphicsItem;

class DeleteCommand : public QUndoCommand
{
public:
    DeleteCommand(QGraphicsScene *scene);

    void undo();
    void redo();

private:
    QList<QGraphicsItem *> selectedItems;
    QGraphicsScene *scene;
};

#endif // DELETECOMMAND_H
